Quoting Mathieu Malaterre (2015-02-22 17:50:12)
> Hi,
> 
> I am trying to re-encode a set of movies for serving them from
> minidlna to a FreeBox V5 client. The FreeBox V5 client does not seems
> to be clearly documented, all I could find is [1] or [2]. From my
> minimal testing I discover the following:
> 
> 1. I cannot play ISO Media, MP4 Base Media v1 [IS0 14496-12:2003] (*.mp4) 
> files,
> 2. I can play either *.avi or *.mkv nicely
> 3. The hardware support recording in *.ts (mpegts)
> 
> Using trial and error I discover that the following encoded movie does
> not play (image is shoppy and sound never start):
> 
> $ avprobe movie.mkv
> avprobe version 0.8.16-6:0.8.16-1, Copyright (c) 2007-2014 the Libav 
> developers
>   built on Sep 17 2014 13:36:07 with gcc 4.6.3
> [matroska,webm @ 0x10254700] Estimating duration from bitrate, this
> may be inaccurate
> Input #0, matroska,webm, from 'movie.mkv':
>   Metadata:
>     title           : XYZ123
>   Duration: 01:40:58.44, start: 0.000000, bitrate: 2176 kb/s
>     Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1
> DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) (forced)
>     Metadata:
>       title           : XYZ123
>     Stream #0.1(fre): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
> (default) (forced)
>     Metadata:
>       title           : XYZ123
>     Stream #0.2(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s
>     Metadata:
>       title           : XYZ123
>     Stream #0.3(fre): Subtitle: [0][0][0][0] / 0x0000
>     Metadata:
>       title           : XYZ123 - french subtitles
>     Stream #0.4(eng): Subtitle: [0][0][0][0] / 0x0000
>     Metadata:
>       title           : XYZ123 - english subtitles
> Unsupported codec with id 94210 for input stream 3
> Unsupported codec with id 94210 for input stream 4
> 
> 
> However the hardware support recording (and playing!) mpegts with the
> following profile:
> 
> $ avprobe France\ 4\ -\ Princesse\ Mononoké\ -\ 25-01-2015\ 20h50\ 2h25m.ts
> avprobe version 0.8.16-6:0.8.16-1, Copyright (c) 2007-2014 the Libav 
> developers
>   built on Sep 17 2014 13:36:07 with gcc 4.6.3
> [...some warning message removed...]
> Input #0, mpegts, from 'France 4 - Princesse Mononoké - 25-01-2015
> 20h50 2h25m.ts':
>   Duration: 02:24:24.85, start: 78129.714611, bitrate: 4051 kb/s
>   Program 39308
>     Stream #0.0[0x46](fra): Subtitle: [6][0][0][0] / 0x0006
>     Stream #0.1[0x1a4]: Video: h264 (High), yuv420p, 1440x1080 [PAR
> 4:3 DAR 16:9], 26.69 fps, 25 tbr, 90k tbn, 50 tbc
>     Stream #0.2[0x1ae](fra): Audio: aac, 48000 Hz, stereo, s16, 125 kb/s
>     Stream #0.3[0x1af](qaa): Audio: aac, 48000 Hz, stereo, s16, 49 kb/s
>     Stream #0.4[0x1b9](fre): Subtitle: [6][0][0][0] / 0x0006
> Unsupported codec with id 94215 for input stream 0
> Unsupported codec with id 94215 for input stream 4
> 
> 
> I fail to understand why I cannot simply re-encode h264 movies using
> something like:
> 
> $ avconv -i movie.mkv  -s 1440x1080 -sn -acodec ac3 reduce.mkv
> 
> Can I use avprobe to diagnose what video/audio codec are actually
> supported on this hardware ? Is there missing information in the
> output of this tool (eg. h264 profile) ? Am I using avconv correctly ?
> 
> My goal is to re-encode with the best possible quality, so based on
> the actual recorded mpegts sample, I would guess my hardware should
> support: h264 with size up to 1440x1080 and aac audio (I've used mp3
> and ac3 and they played well).
> 

I don't think the video size is the problem -- 1440 would be quite a weird
maximum width, it's more likely the hw goes up to 1980 (or 2048 for a
more round number). It's more likely it only supports only certain
levels -- try encoding with -level 40 (or some other).
Also, I see in the first sample your audio is 5.1, while it's stereo in
the second. Possibly it cannot handle surround?

Finally, you're using the 0.8 release. It is VERY old -- over 3 years
now. If at all possible switch to something newer.

-- 
Anton Khirnov
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to