Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
MP4 plays still image + audio track
MP4 plays still image + audio track
Running the latest Debian, installed this week on a Toshiba Satellite U-505 with KDE desktop, when I attempt to play an MP4 file on either Dragon or VLC it shows the first frame as a still image but runs the audio track normally.
I installed via unetbootin - debian. Everything else appears to work.
The "LRV" (Low Resolution Video) form of the same clip will play.
The MP4 in question was recorded by a GoPro Hero 4 at high resolution and frame speed.
The MP4 is a good file and will play OK on a common commercial OS.
I have attempted to install all the codecs I can find in the depository.
Any guidance will be appreciated.
I installed via unetbootin - debian. Everything else appears to work.
The "LRV" (Low Resolution Video) form of the same clip will play.
The MP4 in question was recorded by a GoPro Hero 4 at high resolution and frame speed.
The MP4 is a good file and will play OK on a common commercial OS.
I have attempted to install all the codecs I can find in the depository.
Any guidance will be appreciated.
Re: MP4 plays still image + audio track
You forgot to mention what output method VLC is configured to use for video. Also, is your installation using correct video drivers or it is running on fallback drivers (VESA, fbdev)?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: MP4 plays still image + audio track
And which codecs would these be, then? We wouldn't want to offer redundant advice, that would be irritatingslowjeff wrote:I have attempted to install all the codecs I can find in the depository.
deadbang
Re: MP4 plays still image + audio track
First, with recent ffmpeg all codecs you need for common formats are already installed.
Second, MP4 is not a video format, it is a container. Usually the video inside is AVC, aka H.264 aka MPEG-4 part 10. Audio is usually AAC.
Third, run mediainfo on your file if you want to know what's inside.
... and fourth ... I still suspect there is incapable video driver in use, in other words, the Xorg is running on fallback drivers.
Second, MP4 is not a video format, it is a container. Usually the video inside is AVC, aka H.264 aka MPEG-4 part 10. Audio is usually AAC.
Third, run mediainfo on your file if you want to know what's inside.
... and fourth ... I still suspect there is incapable video driver in use, in other words, the Xorg is running on fallback drivers.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: MP4 plays still image + audio track
I thought that the GoPro uses its own video codec for the higher resolution video; I remember reading a lot about that and Linux a couple year back. Newer versions of ffmpeg/libav* than you have in Stretch may support that codec, though.
Edit: Some posts say that the latest GoPros are using hevc (h.265) encoding...
What does media information in VLC say about the video?
Edit: Some posts say that the latest GoPros are using hevc (h.265) encoding...
What does media information in VLC say about the video?
MX Linux packager and developer
Re: MP4 plays still image + audio track
Well, in case hardware decoding is not available for H.265 then there must be sufficient CPU power to decode it. Again, playing with VLC video output options may help (or may not).
Re: MP4 plays still image + audio track
FFmpeg*Head_on_a_Stick wrote:And which codecs would these be, then? We wouldn't want to offer redundant advice, that would be irritatingslowjeff wrote:I have attempted to install all the codecs I can find in the depository.
Re: MP4 plays still image + audio track
I don't know how to check to see which video drivers are in use.Segfault wrote:First, with recent ffmpeg all codecs you need for common formats are already installed.
Second, MP4 is not a video format, it is a container. Usually the video inside is AVC, aka H.264 aka MPEG-4 part 10. Audio is usually AAC.
Third, run mediainfo on your file if you want to know what's inside.
... and fourth ... I still suspect there is incapable video driver in use, in other words, the Xorg is running on fallback drivers.
I'm.an old man..I used to be an IT tech but I've been out of it for a decade. I just want a computer that will enable me to write and do some very minor video edits and I am *so sick* of dealing with Windows. I used to run various Debians back when I was a working pro, but my memory has faded.
How would I check that?
Re: MP4 plays still image + audio track
I don't.know how to check what output.method is configured.for VLC.Segfault wrote:You forgot to mention what output method VLC is configured to use for video. Also, is your installation using correct video drivers or it is running on fallback drivers (VESA, fbdev)?
More ignorance.
I have a boundless supply.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: MP4 plays still image + audio track
So you can play other, more normal mp4 files just fine in VLC, right? Have you checked that?
You can install mediainfo and/or mediainfo-gui to get information on media files, including hevc (h.265) encoded files.
Here is a test 5 MB hevc-encoded mp4 file of me fending off an attacking coyote (OK, just my hand appears in the video) that you can test VLC and mediainfo with. Make sure to download it and not just play it in the browser:
https://drive.google.com/open?id=1zWATk ... Fc1dVxa-_l
You can install mediainfo and/or mediainfo-gui to get information on media files, including hevc (h.265) encoded files.
Here is a test 5 MB hevc-encoded mp4 file of me fending off an attacking coyote (OK, just my hand appears in the video) that you can test VLC and mediainfo with. Make sure to download it and not just play it in the browser:
https://drive.google.com/open?id=1zWATk ... Fc1dVxa-_l
MX Linux packager and developer
Re: MP4 plays still image + audio track
No, I hadn't checked that, and yes, your file plays perfectly.stevepusser wrote:So you can play other, more normal mp4 files just fine in VLC, right? Have you checked that?
You can install mediainfo and/or mediainfo-gui to get information on media files, including hevc (h.265) encoded files.
Here is a test 5 MB hevc-encoded mp4 file of me fending off an attacking coyote (OK, just my hand appears in the video) that you can test VLC and mediainfo with. Make sure to download it and not just play it in the browser:
https://drive.google.com/open?id=1zWATk ... Fc1dVxa-_l
Nice to see you defending yourself from the coyote so bravely and powerfully.
So... can I convert my GoPro file to something reasonable?
Re: MP4 plays still image + audio track
Other interesting note:
MediaInfo can't see anything inside the file in question, although it can see what's in conventional MP4 files.
MediaInfo can't see anything inside the file in question, although it can see what's in conventional MP4 files.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: MP4 plays still image + audio track
Can VLC play the problem video on the commercial OS? If not, what player is playing it there, and can it provide any information about the codecs?
If VLC can play it there, you can convert it to a more standard format in VLC, or enable the advanced GUI in VLC and use the record button to make a small clip to upload for others to see what they can do with it.
If VLC can play it there, you can convert it to a more standard format in VLC, or enable the advanced GUI in VLC and use the record button to make a small clip to upload for others to see what they can do with it.
MX Linux packager and developer
Re: MP4 plays still image + audio track
Try ffprobe, example below:
Code: Select all
$ ffprobe -hide_banner The.Road.to.Hong.Kong.1962.mkv
Input #0, matroska,webm, from 'The.Road.to.Hong.Kong.1962.mkv':
Metadata:
title : The Road to Hong Kong 1962
creation_time : 2018-12-27T02:40:26.000000Z
ENCODER : Lavf58.20.100
Duration: N/A, start: -0.007000, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1200x720 [SAR 1914:1915 DAR 638:383], SAR 1:1 DAR 5:3, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Stereo
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: MP4 plays still image + audio track
ffprobe requires that you install the ffmpeg package, in case you get a "what?" from the system when you try it.Segfault wrote:Try ffprobe, example below:Code: Select all
$ ffprobe -hide_banner The.Road.to.Hong.Kong.1962.mkv Input #0, matroska,webm, from 'The.Road.to.Hong.Kong.1962.mkv': Metadata: title : The Road to Hong Kong 1962 creation_time : 2018-12-27T02:40:26.000000Z ENCODER : Lavf58.20.100 Duration: N/A, start: -0.007000, bitrate: N/A Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1200x720 [SAR 1914:1915 DAR 638:383], SAR 1:1 DAR 5:3, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: title : Stereo
MX Linux packager and developer
Solved Re: MP4 plays still image + audio track
Thanks to all.
I installed HandBrake and it appears to be going to convert these files to a usable format.
It didn't occur to me in advance that what GoPro called an MP4 file wasn't what the rest of the world called an MP4 file, but I learned a few valuable things from y'all in the process.
Thanks again
I installed HandBrake and it appears to be going to convert these files to a usable format.
It didn't occur to me in advance that what GoPro called an MP4 file wasn't what the rest of the world called an MP4 file, but I learned a few valuable things from y'all in the process.
Thanks again
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Solved Re: MP4 plays still image + audio track
The mp4 format is just a container, so it can hold all kinds of different codecs. I still suspect that GoPro has their own custom one. Just typeslowjeff wrote:Thanks to all.
I installed HandBrake and it appears to be going to convert these files to a usable format.
It didn't occur to me in advance that what GoPro called an MP4 file wasn't what the rest of the world called an MP4 file, but I learned a few valuable things from y'all in the process.
Thanks again
Code: Select all
ffmpeg -codecs
MX Linux packager and developer
Re: MP4 plays still image + audio track
Handbrake opened it, in its Activity log is description of source, including codecs.
Edit: GoPro website tells it is H.264 and may be H.265 for some newer cameras, depending on recording mode. Although they do not mention if it is 8 bit, 10 bit or 12 bit. I'm assuming 8 bit.
We still do not know what video hardware is used. It may be H.264 is decoded in hardware and H.265 falls back to software decoding. Again, playing with VLC video output options may help. It defaults to Auto, but it may not be the best solution.
More edit: Being old is not an excuse to solicit spoonfeeding. I'm old myself.
Edit: GoPro website tells it is H.264 and may be H.265 for some newer cameras, depending on recording mode. Although they do not mention if it is 8 bit, 10 bit or 12 bit. I'm assuming 8 bit.
We still do not know what video hardware is used. It may be H.264 is decoded in hardware and H.265 falls back to software decoding. Again, playing with VLC video output options may help. It defaults to Auto, but it may not be the best solution.
More edit: Being old is not an excuse to solicit spoonfeeding. I'm old myself.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: MP4 plays still image + audio track
For what it's worth, I just backported Sid's VLC 3.0.5 for MX Linux, and it adds a 10-bit h.264 playback plugin, though that also needed a backport of libx264-155 from Buster. I can also play the latest new AV1 video codec in it, though that is probably due more to the backported ffmpeg 4.0.3 with libaom I've also got.
I'll see about adding those to my backports multimedia repo tomorrow when I have time.
I'll see about adding those to my backports multimedia repo tomorrow when I have time.
MX Linux packager and developer