PDA

View Full Version : [VU+ Duo2] mp4 playing as lusicfile



bellejt
18-02-23, 16:55
when i copy a mp4 file to HDD it plays as music file instead of video file.Only recently copied files have that.Is there a soltution or wrong setup ?

bellejt
18-02-23, 18:51
seems that files with audio on stream 0 gives the problem

birdman
19-02-23, 03:22
As a workaround you could "fix" the file to be the other way round using ffmpeg.

On a command line this is done by:


ffmpeg -i input.mp4 -map 0:1 -map 0:0 -c copy out.mp4

bellejt
19-02-23, 10:12
tried in telnet but not working

birdman
19-02-23, 13:08
tried in telnet but not workingCan you expand on "not working"?

It works for me (once I install ffmpeg) on an et8000. At least to the extent that the two streams do get swapped.

bellejt
19-02-23, 13:25
(once I install ffmpeg) ?? Do i need to install something ? I just gave the command in telenet and get error.If i change "index" in name off the file something happens but still radio on replay

jtrus
19-02-23, 18:02
I had this problem with mp4 files which used to play until the recent (6.1 or 6.2 update). Recently the files would play with sound but no picture.
I found that mp4 files would play if
/Menu/System/Customise/Enable new GStreamer playback = no

bellejt
19-02-23, 19:41
tried and not working. Only differance i see in mp4 files is that stream0 audio is and stream1 video.Then i get audioplayer and no image.With files where stream0 video is it works fine.Problem is when i donwload from youtube the new standar dis adio stream0.

birdman
20-02-23, 01:45
Problem is when i donwload from youtube the new standar dis adio stream0.I've just downloaded from YouTube and the video is on stream 0.
It might depend on how you download???

birdman
20-02-23, 01:47
(once I install ffmpeg) ?? Do i need to install something ? I just gave the command in telenet and get error."get an error" covers a multitude of possibilities.

But:

-bash: ffmpeg: command not foundwould be a big hint that it isn't installed.
You can install it with:

opkg install ffmpeg.

bellejt
20-02-23, 10:40
I download with youtube premium registered on to my computer and then copy file to HDD vu+ duo2

bellejt
20-02-23, 11:45
just installed the package and when going to directory where file is and giving your cmd I get : no such file or directory.Even when I replace iput and output by filename .Not worked in linux a lot.Only windows

PS : do I give the command in root or directory where files are ? MANY THX in advance for help

twol
20-02-23, 11:51
just installed the package and when going to directory where file is and giving your cmd I get : no such file or directory.Even when I replace iput and output by filename .Not worked in linux a lot.Only windows
If you are not sure of directory and linux, using filezilla roll down to the HDD (look in /media) and find the file - top right bar in filezilla will show the location you need to use in ffmpeg

bellejt
20-02-23, 11:53
I am using DCC.Is it the same ? IN DCC the file is in /media/hdd/movie/Musicvid named : Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4

birdman
20-02-23, 12:19
just installed the package and when going to directory where file is and giving your cmd I get : no such file or directory.Even when I replace iput and output by filename .Not worked in linux a lot.Did you put quotes round the filename? It will contain spaces...

bellejt
20-02-23, 12:26
maybe if someone placed the right command line here I could copy it and see.Would be easy for the future to adapt new files. (I am used to working in CMD windows)

bellejt
21-02-23, 14:11
no one with example how to do it ?

birdman
22-02-23, 02:58
no one with example how to do it ?I gave one. But all you report is that there is an error.
If you posted the entire result I might be able to do something more.

bellejt
22-02-23, 10:58
ffmpeg -i input.mp4 -map 0:1 -map 0:0 -c copy out.mp4 gives input.mp4: no such file or directory


when I give : ffmpeg -i "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" -map 0:1 -map 0:0 -c copy "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" in directory where file is I get :

output same as input : exiting
ffmpeg cannot edit existing files in-place.

Valiant
22-02-23, 12:36
ffmpeg -i input.mp4 -map 0:1 -map 0:0 -c copy out.mp4 gives input.mp4: no such file or directory


when I give : ffmpeg -i "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" -map 0:1 -map 0:0 -c copy "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" in directory where file is I get :

output same as input : exiting
ffmpeg cannot edit existing files in-place.

The example that @Birdman gave you was taking input.mp4 and creating output.mp4, i.e. the new file has a different name, so change your output file name to something like "NewSteps Party On.....mp4".

bellejt
22-02-23, 12:56
did that and seems to work but still playing on vu duo2 as musicfile and no image.

!!!! just tried something else : opened file (original and changed) trough ethernet connection on my octagon SF8008 and there the files are correctly playing as video.So must be something why vu duo2 playes as musicfile.

SF8008 is still on 6.0.2.11 so maybe something changed in 6.3

bellejt
22-02-23, 13:29
supp remark as i try other things : my second vu duo2 is also on 6.0.2.11 but also playing as musicfile there.Strange that both vu duo2 have the problem and octagon not. Must be something in differant setting maybe.

Checked new file in player on my PC and stream0 is now video , so allright but still playing on duo2 as audio

twol
22-02-23, 13:42
supp remark as i try other things : my second vu duo2 is also on 6.0.2.11 but also playing as musicfile there.Strange that both vu duo2 have the problem and octagon not. Must be something in differant setting maybe.

Checked new file in player on my PC and stream0 is now video , so allright but still playing on duo2 as audio
Try this command (part of ffmpeg) to find out audio & video components - looks like sf8008 has a codec not on the duo
ffprobe a.mp4
or run mediainfo

bellejt
22-02-23, 13:48
gave comand and :

64832

bellejt
22-02-23, 13:49
gave command and :

64833

twol
22-02-23, 13:51
gave comand and :

64832
Too small cannot see it….. if not found use mediainfo

bellejt
22-02-23, 13:55
just uploaded bigger image as you answered

bellejt
22-02-23, 14:46
just tested with old technomate nano on vix 5.1.032 and also music only there. Strange fenomena

birdman
23-02-23, 02:05
ffmpeg -i input.mp4 -map 0:1 -map 0:0 -c copy out.mp4 gives input.mp4: no such file or directory


when I give : ffmpeg -i "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" -map 0:1 -map 0:0 -c copy "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" in directory where file is I get :

output same as input : exiting
ffmpeg cannot edit existing files in-place.Which sounds eminently reasonable.
So, make the output file something else (output.mp4) then overwrite the original with this when done.


ffmpeg -i "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4" -map 0:1 -map 0:0 -c copy output.mp4
mv output.mp4 "Steps Party On The Dancefloor Tour 2017 Live @ SSE Arena Wembley.mp4"

By the way (in case you don't know) you don't need to type all of the long file names. If you start typing, then press the <tab> key, bash will complete it for you, or at least fill in as much as it can before there is another choice - so you just type a bit more, press <tab> etc. until done.
<tab><tab> will display the choices.

bellejt
24-02-23, 12:39
download with youtube premium and settings tp convert to original mp4 does the trick. Strange because original file was in 1920 and converted also. Original playing on 4K box so that must be the differance maybe in not showing right format

Joe_90
24-02-23, 12:52
It's not the resolution - 1920x1080, but more probably the video encoding format used in the youtube file. The codec may not be available on the older boxes and the video only shows when you re-encode the file.